<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:rich="http://richfaces.org/rich"
                template="/layout/template_box.xhtml"
                xmlns:a="http://richfaces.org/a4j">


  <ui:define name="head">
    <a:loadStyle src="/css/custom-theme/jquery-ui-1.8.2.custom.css"/>
    <!-- <a:loadScript src="/js/alertaInstituicao.js" />-->


	<style>
		.special tr[id]{
		 display:none;
		 }
	</style>

  </ui:define>

  <ui:define name="MenuInterno">
    <ui:include src="/layout/menu_relatorios.xhtml"/>
  </ui:define>


  <ui:define name="body">

    <h2 class="t_dominio">Relatório Mensal</h2>

    <div id="tamanho_div">

<a:outputPanel id="pnlForm" ajaxRendered="true">
				<a:form id="formAlunoHome" styleClass="form_confea">
					<s:validateAll>

						<ol>

							<li><s:decorate template="/layout/edit.xhtml"
									id="decoInicio">
									<ui:define name="label">
									Mês
									</ui:define>

									<rich:calendar showWeekDaysBar="false" showFooter="false" value="#{relatorioMensal.mesInicial}"
									 oncurrentdateselected="event.rich.component.selectDate(event.rich.date)"
									 popup="false" styleClass="special"
									 locale="pt"
									 />
									 
								</s:decorate></li>
								

						</ol>

						<fieldset>
							<h:messages globalOnly="false" styleClass="tool_alerta" />
						</fieldset>

						<h:commandLink styleClass="btn" action="#{relatorioMensal.download}" 
							value="Gerar"  />
							

					</s:validateAll>
				</a:form>
			</a:outputPanel>

    </div>
  </ui:define>

</ui:composition>
